require 'mongoid'
class Post
    include Mongoid::Document
    field :title, :type => String
    field :body, :type => String
    field :created_at, :type => Time, :default => Time.now
    field :updated_at, :type => Time, :default => Time.now 
end
